/**
 * 
 */
package eg.edu.eelu.fyp2013.jdetector.core.filters;

import java.awt.Color;

/**
 * @author Amr
 *
 */
public interface WindowFilter extends Filter {
	
	/**accepts a nXn window of colors of the same color plane, including the target pixel and its surrounding pixels in the kernel
	 * @param window
	 * @return the new value of the center pixel
	 */
	int getFilteredPixel(int[] window);
	
	/** 
	 * @param window
	 * @return
	 */
	int getFilteredPixel(int[][] window);
	
	Color getFilteredPixel(Color[] windowColors);
	Color getFilteredPixel(Color[][] windowColors);
	

}
